import java.awt.event.*;
import java.awt.*;
/**
 * La clase FileManagerMode establece componentes para administrar
 * los archivos de programas almacenados. Los enlista en una tabla
 * y permite realizar las tareas de copiar, pegar, borrar y renombrar.
 */
public class FileManagerMode extends Mode
{
    public FileManagerMode()
    {
        super(
            "fileManagerMode",
            KbdCmdId.CmdValue.MODE_FILE_MANAGER
        );
    }
    public void setDescriptionViewPanel()
    {
        addTopPanels(
            "operationMode",
            Mode.Place.NORTH,
            new GridBagConstraints(
                0,
                0,
                1,
                1,
                1,
                1,
                GridBagConstraints.CENTER,
                GridBagConstraints.BOTH,
                new Insets(0, 0, 0, 0),
                0,
                0
            ),
            new Data.Id[] {
                Data.Id.OPERATION_MODE},
            null
        );
        addTopPanels(
            "fileManagerMode",
            Mode.Place.CENTER,
            new GridBagConstraints(
                0,
                0,
                1,
                1,
                1,
                1,
                GridBagConstraints.CENTER,
                GridBagConstraints.BOTH,
                new Insets(0, 0, 0, 0),
                0,
                0
            ),
            new Data.Id[] {
                Data.Id.OTHER},
            new AnotherComponent[] {
                AnotherComponent.FILE_MANAGER}
        );
    }
    public void setDescriptionEditablePanel()
    {
        addBottomPanels(
            "fileBrowser",
            Mode.Place.SOUTH,
            new Data.Id[] {
                Data.Id.OTHER
            },
            new AnotherComponent[] {
                AnotherComponent.TASKBAR_FILE_MANAGER
            },
            new GridLayout(1,1)
        );
    }
}
